<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo (C("SYS_TITLE")); ?></title>
<link href="/wwyl/Public/Admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="/wwyl/Public/Admin/css/page.css" rel="stylesheet" type="text/css" />
<style>
.file {width:102px;height:34px;opacity:0;filter:alpha(opacity=0);cursor:pointer;}
<!--权限样式-->
#wrap a{text-decoration:none; color:#000;}
#wrap a:hover{ color:#CCC;}
#wrap{ width:94%; height:auto; overflow:hidden; margin:20px auto; padding:10px 20px; border:1px solid #ccc;}
#wrap .add-app{ display:block; width:100px; height:20px; line-height:20px; text-align:center; background:#670768; color:#fff; border-radius:4px;}
#wrap .app{ padding:5px; border:1px solid #f6f6f6; border-radius:4px; width:1000px;}
#wrap .app p{ height:20px; line-height:20px;}
#wrap .app p strong{ font-size:20px; color:#0b99d8}
#wrap .app dl{ margin:10px 0; border:1px solid #f6f6f6; height:auto; overflow:hidden;border-radius:4px;}
#wrap .app dl dt{ display:block; height:25px; line-height:25px; background:#e6e6fa; text-indent:25px;}
#wrap .app dl dt strong{ font-size:14px; color:#61a1fa;}
#wrap .app dl dd{ margin:5px; display:block; height:18px;; width:185px; line-height:18px; text-align:left;  float:left; font-size:16px;} 
</style>

<!--编辑器-->
<script type="text/javascript" src="/wwyl/Public/Admin/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/wwyl/Public/Admin/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/wwyl/Public/Admin/ueditor/ueditor.all.min.js"></script>

<!---->
<script language="JavaScript" src="/wwyl/Public/Admin/js/jquery.js"></script>
<script type="text/javascript">
	$(function(){	
		//顶部导航切换
		$(".nav li a").click(function(){
			$(".nav li a.selected").removeClass("selected")
			$(this).addClass("selected");
		})	
	})	
	
	$(function(){	
		//导航切换
		$(".menuson li").click(function(){
			$(".menuson li.active").removeClass("active")
			$(this).addClass("active");
		});
		
		$('.title').click(function(){
			var $ul = $(this).next('ul');
			$('dd').find('ul').slideUp();
			if($ul.is(':visible')){
				$(this).next('ul').slideUp();
			}else{
				$(this).next('ul').slideDown();
			}
		});
	})	
	
	$(document).ready(function(){
	  $(".click").click(function(){
	  $(".tip").fadeIn(200);
	  });
	  
	  $(".tiptop a").click(function(){
	  $(".tip").fadeOut(200);
	});
	
	  $(".sure").click(function(){
	  $(".tip").fadeOut(100);
	});
	
	  $(".cancel").click(function(){
	  $(".tip").fadeOut(100);
	});
	
	});
	
	//tabl 切换
	$(document).ready(function(e) {
		$('#sel li').click(function(){
			$(".tab-front").removeClass("tab-front").addClass("tab-back");
			$('#sel li a').removeClass();	
			$(this).find('a').attr('class','selected');
			$(this).removeClass("tab-back").addClass("tab-front");
			var i = $(this).index();
			$(".tabbody-div").hide();
			$(".tabbody-div").eq(i).show();
		});
	});
</script>

</head>

<meta charset=utf8>
<body>
<?php  $user = M('Member')->where(array('id'=>$_SESSION['session_id']))->field('id,username,loginlast')->find(); ?>

<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li><a href="#">首页</a></li>
  </ul>
</div>
<div class="mainindex">
  <div class="welinfo"> <span><img src="/wwyl/Public/Admin/images/sun.png" alt="天气" /></span>
  <b><?php echo ($user['username']); ?>您好！<?php echo (C("SYS_TITLE")); ?></b></div>
  
  <div class="xline"></div>
  <div class="welinfo"> <span><img src="/wwyl/Public/Admin/images/time.png" alt="时间" /></span> 
  <i>您上次登录的时间  <?php echo (date('Y-m-d H:i:m',$user['loginlast'])); ?></i> </div>
  <div class="xline"></div>
  <ul class="iconlist">
    <li><img src="/wwyl/Public/Admin/images/ico05.png"/>
      <p><a href="<?php echo U('Index/right',array('act'=>'admin'));?>">后台缓存</a></p>
    </li>
    <li><img src="/wwyl/Public/Admin/images/ico05.png" />
      <p><a href="<?php echo U('Index/right',array('act'=>'index'));?>">前台缓存</a></p>
    </li>
    <li><img src="/wwyl/Public/Admin/images/ico04.png" />
      <p><a href="<?php echo U('Index/right',array('act'=>'mysqlbackup'));?>">数据库备份</a></p>
    </li>
    <li><img src="/wwyl/Public/Admin/images/ico04.png" />
      <p><a href="<?php echo U('Index/right',array('act'=>'mysqlupload'));?>">数据库上传</a></p>
    </li>
  </ul>
  <div class="xline"></div>
  <div class="box"></div>
  <div class="welinfo"> <span><img src="/wwyl/Public/Admin/images/dp.png" alt="提醒" /></span> <b><?php echo (C("SYS_TITLE")); ?></b> </div>
  <ul class="infolist">
    <li><span>1.快速</span></li>
    <li><span>2.高效率</span></li>
    <li><span>3.简单方便</span></li>
    <li><span>4.Author: HellWord  958396827@qq.com</span></li>
  </ul>
  <div class="xline"></div>
</div>
</body>
</html>